﻿using StudentManagement.Model.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace StudentManagement.Model.Entitys
{
    /// <summary>
    /// 学生
    /// </summary>
    public class StudentEntity : EntityBase
    {
        /// <summary>
        /// 编号/学号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 性别（1-男 0-女）
        /// </summary>
        public byte Sex { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? DateBirth { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 班级Id
        /// </summary>
        public int ClassesId { get; set; }
    }
}
